package com.xtkj.superclub_user.conf;

import com.xtkj.commons.SnowflakeIdWorker;
import com.xtkj.superclub_user.interceptor.TokenInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig {
    @Bean
    public SnowflakeIdWorker getSnowflakeIdWorker(){
        return new SnowflakeIdWorker(0,0);
    }
}
